//app.js
const app = getApp()


App({
  onLaunch: function () {
    
    
      wx.cloud.init({
        env: 'vanarus-49df1f',
        traceUser: true,
      })
      
      const db = wx.cloud.database()
      this.globalData.DB=db
    },

    globalData :{
        DB:null
    }
  
})
